<?php echo template('admin/header');echo template('admin/sider');?>
<div class="layui-body">
	<div class="childrenBody childrenBody_show">

		<blockquote class="layui-elem-quote a-e-quote">
				<div class="layui-inline">添加</div>
				<div class="layui-inline f-right"><?php echo admin_btn($index_url, '', 'layui-btn-xs','','返回')?></div>
		</blockquote>
		<form class="layui-form  a-e-form" method="post">
				<div class="layui-form-item">
					<label class="layui-form-label">出发时间</label>
					<div class="layui-input-block">
						<input type="text" name="data[go_time]" class="layui-input time"  lay-verify='required'>
					</div>
				</div>
				<div class="layui-form-item">
					<label class="layui-form-label">成行人数</label>
					<div class="layui-input-block">
						<input type="text" name="data[inline]" class="layui-input" lay-verify='required'>
					</div>
				</div>
				<div class="layui-form-item">
					<label class="layui-form-label">满员人数</label>
					<div class="layui-input-block">
						<input type="text" name="data[full]" class="layui-input" lay-verify='required'>
					</div>
				</div>
				<div class="layui-form-item">
					<div class="layui-input-block">
						<input type="hidden" name="data[tid]" value="<?php echo $tid;?>" lay-verify='required'>
						<?php echo admin_btn($add_url,'save','layui-btn-lg',"lay-filter='sub' location='$index_url/id-$tid'")?>
					</div>
				</div>
		</form>
	</div>
</div>
<?php echo template('admin/script');?>
<script>
layui.laydate.render({ 
	  elem: '.time',
	  range: '~'
});	
</script>
<?php echo template('admin/footer');?>